From d3dc577d7e843b21ecae0b17de4a6cce36b075db Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 14 Nov 2025 17:42:35 +0100 Subject: [PATCH] dhcpv6-ia: add missing limits header MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix the following build error by including : src/dhcpv6-ia.c: In function 'handle_addrlist_change': src/dhcpv6-ia.c:495:53: error: 'INT_MAX' undeclared (first use in this function) 495 | a->fr_cnt = INT_MAX; | ^~~~~~~ src/dhcpv6-ia.c:33:1: note: 'INT_MAX' is defined in header ''; did you forget to '#include '? 32 | #include +++ |+#include 33 | src/dhcpv6-ia.c:495:53: note: each undeclared identifier is reported only once for each function it appears in 495 | a->fr_cnt = INT_MAX; | ^~~~~~~ Fixes: 7136fbe390a5 ("dhcpv6-ia: split statefile handling to separate file") Signed-off-by: Álvaro Fernández Rojas Link: https://github.com/openwrt/odhcpd/pull/311 --- src/dhcpv6-ia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index 209c367..4b11b57 100644 --- a/src/dhcpv6-ia.c +++ b/src/dhcpv6-ia.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include -- 2.30.2